package fr.pentalog.ctc.model.record;

import java.util.Date;

/**
 * @author Danut Chindris
 * @since September 14, 2013
 */

public class ItemRecord {

	private Long id;
	private String title;
	private Date added;
	private String postalCode;
	private String regionName;
	private String description;
	private String pictureUrl;
	private Double price;

	public ItemRecord() {}

	public ItemRecord(Long id, String title, Date added, String postalCode, String regionName,
			String description, String pictureUrl, Double price) {
		this.id = id;
		this.title = title;
		this.added = added;
		this.postalCode = postalCode;
		this.regionName = regionName;
		this.description = description;
		this.pictureUrl = pictureUrl;
		this.price = price;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Date getAdded() {
		return added;
	}

	public void setAdded(Date added) {
		this.added = added;
	}

	public String getPostalCode() {
		return postalCode;
	}

	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}

	public String getRegionName() {
		return regionName;
	}

	public void setRegionName(String regionName) {
		this.regionName = regionName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getPictureUrl() {
		return pictureUrl;
	}

	public void setPictureUrl(String pictureUrl) {
		this.pictureUrl = pictureUrl;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}
}
